<?php
namespace Userslog\Model;
use Think\Model\RelationModel;
class UsersLogModel extends RelationModel{
	protected $_link = array(
		'user' => array(
			'mapping_type'=>self::BELONGS_TO,
			'class_name'  =>'Users',
			'foreign_key'=>'uid',
		),
	);
}